VMX: fix realmode emulation SReg handling
authorJan Beulich <jbeulich@suse.com>
Mon, 31 Oct 2016 07:57:47 +0000 (08:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 31 Oct 2016 07:57:47 +0000 (08:57 +0100)
commita62511bf14971ff581212decbbf57fc11b967840
tree7aaa6fc04c20d5a86fb7c6c2d5ce861618b8be51
parent35ac0c08178ac15565b32ca56b00fa5414f1d3b1
VMX: fix realmode emulation SReg handling

Commit 0888d36bb2 ("x86/emul: Correct the decoding of SReg3 operands")
overlooked three places where x86_seg_cs was assumed to be zero.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/vmx/vmx.c